
//  Created by 黄振 on 16/8/23.
//  Copyright © 2016年 黄振. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MPickerSelectionView;
@protocol MPickerSelectionViewProtocol <NSObject>

@required

- (UIView *)viewWithMPickerSelectionView:(MPickerSelectionView *)pickerSelectionView;

@optional

- (void)cancelEventWithMPickerSelectionView:(MPickerSelectionView *)pickerSelectionView;

- (void)confirmEventWithMPickerSelectionView:(MPickerSelectionView *)pickerSelectionView;

@end
@interface MPickerSelectionView : UIView <MPickerSelectionViewProtocol>

@property (nonatomic, assign) id<MPickerSelectionViewProtocol> delegate;
@property (nonatomic, strong) UILabel *middleLabel;
@property (nonatomic, assign) BOOL isUnfold;
- (void)present;

@end